![]() |
PATH![]() |
![]() ![]() |
Yield time to the AppleShare Registry.
extern UInt32 UAMSleep (UInt32 msec);
The UAMSleep function gives the AppleShare Registry time to run. You should call UAMSleep before you make a network call. When the network call completes, your completion routine should call UAMWakeup to wake up the sleeping thread.
If your completion routine calls UAMWakeup before it calls UAMSleep (for example, when an asynchronous operation completes before you can call UAMSleep ), UAMSleep returns immediately.